﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using AbpDemo.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace study.Employees.Dto
{
    [AutoMapFrom(typeof(Employee))]
    public class CreateEmployeeDto : EntityDto
    {

        /// <summary>
        /// 员工编号
        /// </summary>        
        [StringLength(128)]
        public string Code { get; set; }
        /// <summary>
        /// 员工名称
        /// </summary>
        [StringLength(128)]
        public string Name { get; set; }
        public CreateEmployeeDto() { }
    }
}
